package com.star.config.api.contract.enums;

import com.star.common.core.contract.enums.IEnum;
import com.star.common.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 登录互斥控制类型枚举
 *
 * @author xtp
 * @version 1.0
 * @date 2024/1/18 15:48
 */
@Getter
@AllArgsConstructor
public enum LoginExclusionTypeEnum implements IEnum<Integer>, EnumValueResolver<LoginExclusionTypeEnum, Integer> {

    ALLOW(0, "允许不同设备登录"),

    EXCLUSION(1, "登录互斥"),
    ;

    private final Integer code;

    private final String desc;
}
